using System;
using System.Collections.Generic;
using System.Text;
using SAGE.Agent;

namespace SAGE.Utilities
{
  public class Physics
  {
    #region Members

    private double _gravity = .1;
    private World _world;

    #endregion

    #region Properties

    public double Gravity
    {
      get { return _gravity; }
      set { _gravity = value; }
    }

    #endregion

    #region Constructor

    public Physics(World world)
    {
      _world = world;
    }

    #endregion

    #region Public Methods

    public Collision CheckCollisions(IInteractorAgent agent)
    {
      return CollisionEngine.CheckCollisions(agent, _world);
    }

    #endregion
  }
}
